package com.hyt.it.ogt.kq.common.gov.constant.fjcitybm;

import lombok.Getter;

/**
 * 推送短信类型枚举类
 * @author Chengxh
 */
@Getter
public enum SendContentTemplateEnum {

    REGISTER(1,"报名内容")
    ;
    private final Integer code;
    private final String name;

    SendContentTemplateEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public static SendContentTemplateEnum getSendMessageTypeEnumByCode(Integer code) {
        for (SendContentTemplateEnum value : values()) {
            if (value.getCode().equals(code)) {
                return value;
            }
        }
        return null;
    }
}
